import { POST } from '@/service/request.js'

export default {
    SearchIndex(data = {}) {
        return POST({
            url: '/search/index',
            params: data
        })
    },
    SearchCollection(data = {}) {
        return POST({
            url: '/search/collection',
            params: data
        })
    },
}